<!-- /.content-wrapper -->
<footer class="main-footer">
	<strong>Copyright &copy;2017-<span id="copyyear">now</span> <a target="_blank" href="###">###</a>.</strong>
	All rights reserved.
	<div class="float-right d-none d-sm-inline-block">
		<th:block th:if="${application.LICENSE_STATE eq '1'}">
			<span id="newversion"></span><b id="nowversion" th:alt-title="'专业版&#10;到期时间：'+${application.LICENSE_DATE}+'&#10;节点数量：'+${application.LICENSE_NUM}">Version 3.3.5-pro</b>
		</th:block>
		<th:block th:if="${application.LICENSE_STATE ne '1'}">
			<span id="newversion"></span><b title="个人版" id="nowversion">Version 3.3.5</b>
		</th:block>
	</div>
</footer>

<!-- Control Sidebar -->
<aside class="control-sidebar control-sidebar-dark">
	<!-- Control sidebar content goes here -->
</aside>
<!-- /.control-sidebar -->

<!-- jQuery -->
<script th:src="@{'/static/AdminLTE/plugins/jquery/jquery.min.js'}"></script>
<!-- jQuery UI 1.11.4 -->
<script th:src="@{'/static/AdminLTE/plugins/jquery-ui/jquery-ui.min.js'}"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
	$.widget.bridge('uibutton', $.ui.button)
</script>
<!-- Bootstrap 4 -->
<script th:src="@{'/static/AdminLTE/plugins/bootstrap/js/bootstrap.bundle.min.js'}"></script>
<!-- Select2 -->
<script  th:src="@{'/static/AdminLTE/plugins/select2/js/select2.full.min.js'}"></script>
<!-- ChartJS -->
<script th:src="@{'/static/AdminLTE/plugins/chart.js/Chart.min.js'}"></script>
<!-- Sparkline -->
<script th:src="@{'/static/AdminLTE/plugins/sparklines/sparkline.js'}"></script>
<!-- JQVMap -->
<script th:src="@{'/static/AdminLTE/plugins/jqvmap/jquery.vmap.min.js'}"></script>
<script th:src="@{'/static/AdminLTE/plugins/jqvmap/maps/jquery.vmap.usa.js'}"></script>
<!-- jQuery Knob Chart -->
<script th:src="@{'/static/AdminLTE/plugins/jquery-knob/jquery.knob.min.js'}"></script>
<!-- InputMask -->
<script th:src="@{'/static/AdminLTE/plugins/moment/moment.min.js'}"></script>
<script th:src="@{'/static/AdminLTE/plugins/inputmask/min/jquery.inputmask.bundle.min.js'}"></script>
<!-- daterangepicker -->
<script th:src="@{'/static/AdminLTE/plugins/daterangepicker/daterangepicker.js'}"></script>
<!-- Tempusdominus Bootstrap 4 -->
<script th:src="@{'/static/AdminLTE/plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js'}"></script>
<!-- Summernote -->
<script th:src="@{'/static/AdminLTE/plugins/summernote/summernote-bs4.min.js'}"></script>
<!-- overlayScrollbars -->
<script th:src="@{'/static/AdminLTE/plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js'}"></script>
<!-- AdminLTE App -->
<script th:src="@{'/static/AdminLTE/dist/js/adminlte.js'}"></script>
<!-- SweetAlert2 -->
<script th:src="@{'/static/AdminLTE/plugins/sweetalert2/sweetalert2.min.js'}"></script>
<!-- Toastr -->
<script th:src="@{'/static/AdminLTE/plugins/toastr/toastr.min.js'}"></script>
<!-- Bootstrap4 Duallistbox -->
<script th:src="@{'/static/AdminLTE/plugins/bootstrap4-duallistbox/jquery.bootstrap-duallistbox.min.js'}"></script>
<!-- AdminLTE for demo purposes -->
<script th:src="@{'/static/AdminLTE/dist/js/demo.js'}"></script>
<!-- my97 datepicker -->
<script th:src="@{'/static/common/My97DatePicker/4.8/WdatePicker.js'}"></script>
<script type="text/javascript">
toastr.options.timeOut = 15000;
//全选
$("#checkall").on("click",function(){
	if($('#checkall').is(':checked')) {
		$("input[name='todo2']:checkbox").each(function() {
			$(this).prop("checked", true);
		});
	}else{
		$("input[name='todo2']:checkbox").each(function() {
			$(this).prop("checked", false);
		});
	}
});
function delChecks(url) {
	var chk_value =[];
	$("input[name='todo2']:checkbox").each(function() {
		if($(this).is(':checked')) {
			chk_value.push($(this).val());
		}
	});
	if(chk_value.length == 0){
		alert("请先选择需要删除的数据");
		return;
	}
	if(confirm('你确定要删除所选数据吗？')) {
		var vals = chk_value.join(",");
		$.ajax("/wgcloud"+url,{
			type:"post",
			data:{"id":vals},
			success:function(data){
				window.location.href = window.location.href;
			}
		});
	}
}
</script>